class Student {
    private String name;
    private String id;
    private String className; // 在Java中，'Class' 是保留字，因此使用 'className' 代替
    private String gender;
    private int age;
    private String character;

    // 构造函数
    public Student(String n, String sid, String cls, String gen, int a, String per) {
        name = n;
        id = sid;
        className = cls;
        gender = gen;
        age = a;
        character = per;
    }

    public String getName() {
        return name;
    }

    public String getId() {
        return id;
    }

    public String getClassName() {
        return className;
    }

    public String getGender() {
        return gender;
    }

    public int getAge() {
        return age;
    }

    public String getCharacter() {
        return character;
    }

    public String infoSum() {
        return "姓名: " + name + ", 学号: " + id + ", 班级: " + className +
                ", 性别: " + gender + ", 年龄: " + age + ", 性格: " + character;
    }

    public static void main(String[] args) {
        Student student1 = new Student("鸠", "20230001", "地理信息科学班", "女", 18, "内向");
        Student student2 = new Student("吉诺", "20230002", "地理信息科学班", "男", 19, "外向");
        Student student3 = new Student("嘉嘉", "20230003", "地理信息科学班", "男", 18, "开朗");

        System.out.println(student1.infoSum());
        System.out.println(student2.infoSum());
        System.out.println(student3.infoSum());
    }
}